/**
 * SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
 * SPDX-License-Identifier: Mulan PSL v2
 */
exports.check = function () {
    // return true;
    return false;
};
exports.get = function () {
    return {
        "data": {
            "dataset": {
                "softwareVer": "1.0",
                "dataVer": "",
                "dataset": "test",
                "createTime": "2022-11-10 09:38:40",
                "updateTime": "2022-11-10 09:38:40",
                "owner": "jmc",
                "dataspace": "xdr",
                "tag": null,  // 数据集tag,若无值则为null,若存在值，则是以;划分多个tag,如：xdr1;xdr2,因此前端应限制一下用户在设置tag时不可输入“；”
                "type": "raw",
                "fileFormat": "open",
                "size": 0.0,  // 单位MB
                "description": null  // 若无值则为null,若存在值则为字符串，如："我是test"
            },
            "fileSchema": null,
            "labelSchema": {
                "columns": [
                    {
                        "name": "",
                        "type": "",
                        "comment": "",
                        "nullable": true
                    }
                ]
            },
            "dataSchema": {
                "columns": Array.from(Array(100)).map((item, index) => {
                    return {
                        "name": "agentid" + index,
                        "type": "string" + index,
                        "comment": "test" + index,
                        "nullable": false
                    }
                })
            },
            "paths": { // 数据集的路径，在页面展示的时候，应该只需展示后面的文件名
                "files": null,
                "tables": [
                    "tables/data_table.json",
                    "tables/data_table/part-00000-a98f1f44-2660-4570-9a46-bf0041bf6ac5-c000.snappy.parquet",
                    "tables/label_table.json"
                ],
                "labelTable": null,
                "dataTable": null,
                "fileTable": null
            }
        },
        "msg": null,
        "code": "0000000",
        "success": true
    }
};
